<template>
  <div>
    <el-table :data="url">
      <el-table-column prop="code" label="编号"> </el-table-column>
      <el-table-column prop="title" label="标题"> </el-table-column>
      <el-table-column prop="described" label="描述"> </el-table-column>
      <el-table-column prop="price" label="金币"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
    data(){
        return{
            url:"",
            userid:localStorage.getItem("userid")

        }
    },
    mounted(){
        this.getbrowsing()
    },
    methods:{
        getbrowsing(){
            this.axios.get("/getbrowsing?userid="+this.userid).then(res =>{
                this.url = res.data.data
            })
        }
    }

}
</script>

<style>

</style>